using BackOffice.Application.DTOs;
using Backoffice.Application.Common;
using System.Threading.Tasks;

namespace BackOffice.Application.Services
{
    public interface IMenuService
    {
        Task<ApiResult> CreateMenuAsync(CreateMenuDto createMenuDto);
        Task<ApiResult> UpdateMenuAsync(Guid menuId, UpdateMenuDto updateMenuDto);
        Task<ApiResult> DeleteMenuAsync(Guid menuId);
        Task<ApiResult> GetMenuTreeAsync();
        Task<ApiResult> MoveMenuAsync(Guid menuId, Guid newParentId, int newOrder);
    }
}